<?php
	require_once("../classes/GameSession.class.php");
	require_once("../classes/GameAnswer.class.php");
	session_start();
	require_once("../classes/HumeurDatabase.class.php");
	$_POST['gameSessionId'] = $_SESSION['gameSession']->id;
	$_SESSION['gameSession']->addAnswer(new GameAnswer($_POST));
?>